package com.yang.struct;

import java.util.Scanner;

public class IfDemo02 {
    public static void main(String[] args) {
        //考试分数大于60就是及格，小于60不及格
        Scanner scanner = new Scanner(System.in);

        System.out.println("考试分数：");

        int score = scanner.nextInt();
        if (score > 60){
            System.out.println("成绩及格");
        }else {
            System.out.println("成绩不及格");
        }




        scanner.close();
    }
}
